package cn.wxz1997.permission.service;

import cn.wxz1997.permission.dto.UserForm;
import cn.wxz1997.permission.model.User;

import java.util.List;

/**
 * @Description: ${todo}
 * @Author: wxz1997
 * @Date 18-9-4下午6:40
 */
public interface UserService {

    User add(UserForm userForm);

    User selectById(Integer id);

    User selectByUsername(String username);

    User getCurrentUser();

    List<User> list();

    User update(UserForm userForm);

    Integer delete(Integer id);
}
